<div class="blogs">
    <ul>
        <% posts.forEach(function(post) { %>
            <li>
                <% if (themeConfig.showFeatureImage && post.feature) { %>
                    <span class="blogpic">
                    <a href="<%= post.link %>"><img src="<%= post.feature %>"></a>
                    </span>
                <% } %>
                <h3 class="blogtitle">
                    <a href="<%= post.link %>"><%= post.title %></a></h3>
                <div class="bloginfo">
                    <p> <%- post.abstract?post.abstract:'...' %></p>
                </div>
                <div class="autor">
                    <span class="lm">
                        <% post.tags.forEach(function(tag) { %>
                            <a href="<%= tag.link %>" title="<%= tag.name %>" class="classname">
                            <%= tag.name %>
                        </a>
                        <% }); %>
                    </span>
                    <span class="readmore"><a href="<%= post.link %>">阅读原文</a></span>
                </div>
            </li>
        <% }); %>
    </ul>
    <div class="blank"></div>
    <div class="pagelist">
        <% if (pagination.prev) { %>
            <a href="<%= pagination.prev %>" class="prev-page">上一页</a>
        <% } %>
        <% if (pagination.next) { %>
            <a href="<%= pagination.next %>" class="prev-page" style="float: right">下一页</a>
        <% } %>
    </div>
</div>

